using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class AddMsg : GeneratedMessageLite<AddMsg, AddMsg.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<AddMsg, AddMsg.Builder>
		{
			private bool resultIsReadOnly;
			private AddMsg result;
			protected override AddMsg.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override AddMsg MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override AddMsg DefaultInstanceForType
			{
				get
				{
					return AddMsg.DefaultInstance;
				}
			}
			public int MsgId
			{
				get
				{
					return this.result.MsgId;
				}
				set
				{
					this.SetMsgId(value);
				}
			}
			public SKBuiltinString_t FromUserName
			{
				get
				{
					return this.result.FromUserName;
				}
				set
				{
					this.SetFromUserName(value);
				}
			}
			public SKBuiltinString_t ToUserName
			{
				get
				{
					return this.result.ToUserName;
				}
				set
				{
					this.SetToUserName(value);
				}
			}
			public int MsgType
			{
				get
				{
					return this.result.MsgType;
				}
				set
				{
					this.SetMsgType(value);
				}
			}
			public SKBuiltinString_t Content
			{
				get
				{
					return this.result.Content;
				}
				set
				{
					this.SetContent(value);
				}
			}
			public uint Status
			{
				get
				{
					return this.result.Status;
				}
				set
				{
					this.SetStatus(value);
				}
			}
			public uint ImgStatus
			{
				get
				{
					return this.result.ImgStatus;
				}
				set
				{
					this.SetImgStatus(value);
				}
			}
			public SKBuiltinBuffer_t ImgBuf
			{
				get
				{
					return this.result.ImgBuf;
				}
				set
				{
					this.SetImgBuf(value);
				}
			}
			public uint CreateTime
			{
				get
				{
					return this.result.CreateTime;
				}
				set
				{
					this.SetCreateTime(value);
				}
			}
			public string MsgSource
			{
				get
				{
					return this.result.MsgSource;
				}
				set
				{
					this.SetMsgSource(value);
				}
			}
			public Builder()
			{
				this.result = AddMsg.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(AddMsg cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private AddMsg PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					AddMsg other = this.result;
					this.result = new AddMsg();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override AddMsg.Builder Clear()
			{
				this.result = AddMsg.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override AddMsg.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new AddMsg.Builder(this.result);
				}
				return new AddMsg.Builder().MergeFrom(this.result);
			}
			public override AddMsg BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override AddMsg.Builder MergeFrom(IMessageLite other)
			{
				if (other is AddMsg)
				{
					return this.MergeFrom((AddMsg)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override AddMsg.Builder MergeFrom(AddMsg other)
			{
				return this;
			}
			public override AddMsg.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override AddMsg.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(AddMsg._addMsgFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = AddMsg._addMsgFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 32u)
					{
						if (num3 <= 8u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 8u)
							{
								this.result.hasMsgId = input.ReadInt32(ref this.result.msgId_);
								continue;
							}
						}
						else
						{
							if (num3 == 18u)
							{
								SKBuiltinString_t.Builder builder = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasFromUserName)
								{
									builder.MergeFrom(this.FromUserName);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.FromUserName = builder.BuildPartial();
								continue;
							}
							if (num3 == 26u)
							{
								SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasToUserName)
								{
									builder2.MergeFrom(this.ToUserName);
								}
								input.ReadMessage(builder2, extensionRegistry);
								this.ToUserName = builder2.BuildPartial();
								continue;
							}
							if (num3 == 32u)
							{
								this.result.hasMsgType = input.ReadInt32(ref this.result.msgType_);
								continue;
							}
						}
					}
					else
					{
						if (num3 <= 56u)
						{
							if (num3 == 42u)
							{
								SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasContent)
								{
									builder3.MergeFrom(this.Content);
								}
								input.ReadMessage(builder3, extensionRegistry);
								this.Content = builder3.BuildPartial();
								continue;
							}
							if (num3 == 48u)
							{
								this.result.hasStatus = input.ReadUInt32(ref this.result.status_);
								continue;
							}
							if (num3 == 56u)
							{
								this.result.hasImgStatus = input.ReadUInt32(ref this.result.imgStatus_);
								continue;
							}
						}
						else
						{
							if (num3 == 66u)
							{
								SKBuiltinBuffer_t.Builder builder4 = SKBuiltinBuffer_t.CreateBuilder();
								if (this.result.hasImgBuf)
								{
									builder4.MergeFrom(this.ImgBuf);
								}
								input.ReadMessage(builder4, extensionRegistry);
								this.ImgBuf = builder4.BuildPartial();
								continue;
							}
							if (num3 == 72u)
							{
								this.result.hasCreateTime = input.ReadUInt32(ref this.result.createTime_);
								continue;
							}
							if (num3 == 82u)
							{
								this.result.hasMsgSource = input.ReadString(ref this.result.msgSource_);
								continue;
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public AddMsg.Builder SetMsgId(int value)
			{
				this.PrepareBuilder();
				this.result.hasMsgId = true;
				this.result.msgId_ = value;
				return this;
			}
			public AddMsg.Builder ClearMsgId()
			{
				this.PrepareBuilder();
				this.result.hasMsgId = false;
				this.result.msgId_ = 0;
				return this;
			}
			public AddMsg.Builder SetFromUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasFromUserName = true;
				this.result.fromUserName_ = value;
				return this;
			}
			public AddMsg.Builder SetFromUserName(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasFromUserName = true;
				this.result.fromUserName_ = builderForValue.Build();
				return this;
			}
			public AddMsg.Builder MergeFromUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasFromUserName && this.result.fromUserName_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.fromUserName_ = SKBuiltinString_t.CreateBuilder(this.result.fromUserName_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.fromUserName_ = value;
				}
				this.result.hasFromUserName = true;
				return this;
			}
			public AddMsg.Builder ClearFromUserName()
			{
				this.PrepareBuilder();
				this.result.hasFromUserName = false;
				this.result.fromUserName_ = null;
				return this;
			}
			public AddMsg.Builder SetToUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasToUserName = true;
				this.result.toUserName_ = value;
				return this;
			}
			public AddMsg.Builder SetToUserName(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasToUserName = true;
				this.result.toUserName_ = builderForValue.Build();
				return this;
			}
			public AddMsg.Builder MergeToUserName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasToUserName && this.result.toUserName_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.toUserName_ = SKBuiltinString_t.CreateBuilder(this.result.toUserName_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.toUserName_ = value;
				}
				this.result.hasToUserName = true;
				return this;
			}
			public AddMsg.Builder ClearToUserName()
			{
				this.PrepareBuilder();
				this.result.hasToUserName = false;
				this.result.toUserName_ = null;
				return this;
			}
			public AddMsg.Builder SetMsgType(int value)
			{
				this.PrepareBuilder();
				this.result.hasMsgType = true;
				this.result.msgType_ = value;
				return this;
			}
			public AddMsg.Builder ClearMsgType()
			{
				this.PrepareBuilder();
				this.result.hasMsgType = false;
				this.result.msgType_ = 0;
				return this;
			}
			public AddMsg.Builder SetContent(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasContent = true;
				this.result.content_ = value;
				return this;
			}
			public AddMsg.Builder SetContent(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasContent = true;
				this.result.content_ = builderForValue.Build();
				return this;
			}
			public AddMsg.Builder MergeContent(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasContent && this.result.content_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.content_ = SKBuiltinString_t.CreateBuilder(this.result.content_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.content_ = value;
				}
				this.result.hasContent = true;
				return this;
			}
			public AddMsg.Builder ClearContent()
			{
				this.PrepareBuilder();
				this.result.hasContent = false;
				this.result.content_ = null;
				return this;
			}
			public AddMsg.Builder SetStatus(uint value)
			{
				this.PrepareBuilder();
				this.result.hasStatus = true;
				this.result.status_ = value;
				return this;
			}
			public AddMsg.Builder ClearStatus()
			{
				this.PrepareBuilder();
				this.result.hasStatus = false;
				this.result.status_ = 0u;
				return this;
			}
			public AddMsg.Builder SetImgStatus(uint value)
			{
				this.PrepareBuilder();
				this.result.hasImgStatus = true;
				this.result.imgStatus_ = value;
				return this;
			}
			public AddMsg.Builder ClearImgStatus()
			{
				this.PrepareBuilder();
				this.result.hasImgStatus = false;
				this.result.imgStatus_ = 0u;
				return this;
			}
			public AddMsg.Builder SetImgBuf(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasImgBuf = true;
				this.result.imgBuf_ = value;
				return this;
			}
			public AddMsg.Builder SetImgBuf(SKBuiltinBuffer_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasImgBuf = true;
				this.result.imgBuf_ = builderForValue.Build();
				return this;
			}
			public AddMsg.Builder MergeImgBuf(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasImgBuf && this.result.imgBuf_ != SKBuiltinBuffer_t.DefaultInstance)
				{
					this.result.imgBuf_ = SKBuiltinBuffer_t.CreateBuilder(this.result.imgBuf_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.imgBuf_ = value;
				}
				this.result.hasImgBuf = true;
				return this;
			}
			public AddMsg.Builder ClearImgBuf()
			{
				this.PrepareBuilder();
				this.result.hasImgBuf = false;
				this.result.imgBuf_ = null;
				return this;
			}
			public AddMsg.Builder SetCreateTime(uint value)
			{
				this.PrepareBuilder();
				this.result.hasCreateTime = true;
				this.result.createTime_ = value;
				return this;
			}
			public AddMsg.Builder ClearCreateTime()
			{
				this.PrepareBuilder();
				this.result.hasCreateTime = false;
				this.result.createTime_ = 0u;
				return this;
			}
			public AddMsg.Builder SetMsgSource(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasMsgSource = true;
				this.result.msgSource_ = value;
				return this;
			}
			public AddMsg.Builder ClearMsgSource()
			{
				this.PrepareBuilder();
				this.result.hasMsgSource = false;
				this.result.msgSource_ = "";
				return this;
			}
		}
		public const int MsgIdFieldNumber = 1;
		public const int FromUserNameFieldNumber = 2;
		public const int ToUserNameFieldNumber = 3;
		public const int MsgTypeFieldNumber = 4;
		public const int ContentFieldNumber = 5;
		public const int StatusFieldNumber = 6;
		public const int ImgStatusFieldNumber = 7;
		public const int ImgBufFieldNumber = 8;
		public const int CreateTimeFieldNumber = 9;
		public const int MsgSourceFieldNumber = 10;
		private static readonly AddMsg defaultInstance;
		private static readonly string[] _addMsgFieldNames;
		private static readonly uint[] _addMsgFieldTags;
		private bool hasMsgId;
		private int msgId_;
		private bool hasFromUserName;
		private SKBuiltinString_t fromUserName_;
		private bool hasToUserName;
		private SKBuiltinString_t toUserName_;
		private bool hasMsgType;
		private int msgType_;
		private bool hasContent;
		private SKBuiltinString_t content_;
		private bool hasStatus;
		private uint status_;
		private bool hasImgStatus;
		private uint imgStatus_;
		private bool hasImgBuf;
		private SKBuiltinBuffer_t imgBuf_;
		private bool hasCreateTime;
		private uint createTime_;
		private bool hasMsgSource;
		private string msgSource_ = "";
		private int memoizedSerializedSize = -1;
		public static AddMsg DefaultInstance
		{
			get
			{
				return AddMsg.defaultInstance;
			}
		}
		public override AddMsg DefaultInstanceForType
		{
			get
			{
				return AddMsg.DefaultInstance;
			}
		}
		protected override AddMsg ThisMessage
		{
			get
			{
				return this;
			}
		}
		public int MsgId
		{
			get
			{
				return this.msgId_;
			}
		}
		public SKBuiltinString_t FromUserName
		{
			get
			{
				return this.fromUserName_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t ToUserName
		{
			get
			{
				return this.toUserName_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public int MsgType
		{
			get
			{
				return this.msgType_;
			}
		}
		public SKBuiltinString_t Content
		{
			get
			{
				return this.content_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public uint Status
		{
			get
			{
				return this.status_;
			}
		}
		public uint ImgStatus
		{
			get
			{
				return this.imgStatus_;
			}
		}
		public SKBuiltinBuffer_t ImgBuf
		{
			get
			{
				return this.imgBuf_ ?? SKBuiltinBuffer_t.DefaultInstance;
			}
		}
		public uint CreateTime
		{
			get
			{
				return this.createTime_;
			}
		}
		public string MsgSource
		{
			get
			{
				return this.msgSource_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return this.hasMsgId && this.hasFromUserName && this.hasToUserName && this.hasMsgType && this.hasContent && this.hasStatus && this.hasImgStatus && this.hasImgBuf && this.hasCreateTime && this.ImgBuf.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasMsgId)
				{
					num += CodedOutputStream.ComputeInt32Size(1, this.MsgId);
				}
				if (this.hasFromUserName)
				{
					num += CodedOutputStream.ComputeMessageSize(2, this.FromUserName);
				}
				if (this.hasToUserName)
				{
					num += CodedOutputStream.ComputeMessageSize(3, this.ToUserName);
				}
				if (this.hasMsgType)
				{
					num += CodedOutputStream.ComputeInt32Size(4, this.MsgType);
				}
				if (this.hasContent)
				{
					num += CodedOutputStream.ComputeMessageSize(5, this.Content);
				}
				if (this.hasStatus)
				{
					num += CodedOutputStream.ComputeUInt32Size(6, this.Status);
				}
				if (this.hasImgStatus)
				{
					num += CodedOutputStream.ComputeUInt32Size(7, this.ImgStatus);
				}
				if (this.hasImgBuf)
				{
					num += CodedOutputStream.ComputeMessageSize(8, this.ImgBuf);
				}
				if (this.hasCreateTime)
				{
					num += CodedOutputStream.ComputeUInt32Size(9, this.CreateTime);
				}
				if (this.hasMsgSource)
				{
					num += CodedOutputStream.ComputeStringSize(10, this.MsgSource);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private AddMsg()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] addMsgFieldNames = AddMsg._addMsgFieldNames;
			if (this.hasMsgId)
			{
				output.WriteInt32(1, addMsgFieldNames[5], this.MsgId);
			}
			if (this.hasFromUserName)
			{
				output.WriteMessage(2, addMsgFieldNames[2], this.FromUserName);
			}
			if (this.hasToUserName)
			{
				output.WriteMessage(3, addMsgFieldNames[9], this.ToUserName);
			}
			if (this.hasMsgType)
			{
				output.WriteInt32(4, addMsgFieldNames[7], this.MsgType);
			}
			if (this.hasContent)
			{
				output.WriteMessage(5, addMsgFieldNames[0], this.Content);
			}
			if (this.hasStatus)
			{
				output.WriteUInt32(6, addMsgFieldNames[8], this.Status);
			}
			if (this.hasImgStatus)
			{
				output.WriteUInt32(7, addMsgFieldNames[4], this.ImgStatus);
			}
			if (this.hasImgBuf)
			{
				output.WriteMessage(8, addMsgFieldNames[3], this.ImgBuf);
			}
			if (this.hasCreateTime)
			{
				output.WriteUInt32(9, addMsgFieldNames[1], this.CreateTime);
			}
			if (this.hasMsgSource)
			{
				output.WriteString(10, addMsgFieldNames[6], this.MsgSource);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasMsgId)
			{
				num ^= this.msgId_.GetHashCode();
			}
			if (this.hasFromUserName)
			{
				num ^= this.fromUserName_.GetHashCode();
			}
			if (this.hasToUserName)
			{
				num ^= this.toUserName_.GetHashCode();
			}
			if (this.hasMsgType)
			{
				num ^= this.msgType_.GetHashCode();
			}
			if (this.hasContent)
			{
				num ^= this.content_.GetHashCode();
			}
			if (this.hasStatus)
			{
				num ^= this.status_.GetHashCode();
			}
			if (this.hasImgStatus)
			{
				num ^= this.imgStatus_.GetHashCode();
			}
			if (this.hasImgBuf)
			{
				num ^= this.imgBuf_.GetHashCode();
			}
			if (this.hasCreateTime)
			{
				num ^= this.createTime_.GetHashCode();
			}
			if (this.hasMsgSource)
			{
				num ^= this.msgSource_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object value)
		{
			AddMsg addMsg = value as AddMsg;
			return addMsg != null && (this.hasMsgId == addMsg.hasMsgId && (!this.hasMsgId || this.msgId_.Equals(addMsg.msgId_))) && (this.hasFromUserName == addMsg.hasFromUserName && (!this.hasFromUserName || this.fromUserName_.Equals(addMsg.fromUserName_))) && (this.hasToUserName == addMsg.hasToUserName && (!this.hasToUserName || this.toUserName_.Equals(addMsg.toUserName_))) && (this.hasMsgType == addMsg.hasMsgType && (!this.hasMsgType || this.msgType_.Equals(addMsg.msgType_))) && (this.hasContent == addMsg.hasContent && (!this.hasContent || this.content_.Equals(addMsg.content_))) && (this.hasStatus == addMsg.hasStatus && (!this.hasStatus || this.status_.Equals(addMsg.status_))) && (this.hasImgStatus == addMsg.hasImgStatus && (!this.hasImgStatus || this.imgStatus_.Equals(addMsg.imgStatus_))) && (this.hasImgBuf == addMsg.hasImgBuf && (!this.hasImgBuf || this.imgBuf_.Equals(addMsg.imgBuf_))) && (this.hasCreateTime == addMsg.hasCreateTime && (!this.hasCreateTime || this.createTime_.Equals(addMsg.createTime_))) && (this.hasMsgSource == addMsg.hasMsgSource && (!this.hasMsgSource || this.msgSource_.Equals(addMsg.msgSource_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("MsgId", this.hasMsgId, this.msgId_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("FromUserName", this.hasFromUserName, this.fromUserName_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("ToUserName", this.hasToUserName, this.toUserName_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("MsgType", this.hasMsgType, this.msgType_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("Content", this.hasContent, this.content_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("Status", this.hasStatus, this.status_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("ImgStatus", this.hasImgStatus, this.imgStatus_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("ImgBuf", this.hasImgBuf, this.imgBuf_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("CreateTime", this.hasCreateTime, this.createTime_, writer);
			GeneratedMessageLite<AddMsg, AddMsg.Builder>.PrintField("MsgSource", this.hasMsgSource, this.msgSource_, writer);
		}
		public static AddMsg ParseFrom(byte[] data)
		{
			return AddMsg.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private AddMsg MakeReadOnly()
		{
			return this;
		}
		public static AddMsg.Builder CreateBuilder()
		{
			return new AddMsg.Builder();
		}
		public override AddMsg.Builder ToBuilder()
		{
			return AddMsg.CreateBuilder(this);
		}
		public override AddMsg.Builder CreateBuilderForType()
		{
			return new AddMsg.Builder();
		}
		public static AddMsg.Builder CreateBuilder(AddMsg prototype)
		{
			return new AddMsg.Builder(prototype);
		}
		static AddMsg()
		{
			AddMsg.defaultInstance = new AddMsg().MakeReadOnly();
			AddMsg._addMsgFieldNames = new string[]
			{
				"Content",
				"CreateTime",
				"FromUserName",
				"ImgBuf",
				"ImgStatus",
				"MsgId",
				"MsgSource",
				"MsgType",
				"Status",
				"ToUserName"
			};
			AddMsg._addMsgFieldTags = new uint[]
			{
				42u,
				72u,
				18u,
				66u,
				56u,
				8u,
				82u,
				32u,
				48u,
				26u
			};
			object.ReferenceEquals(micromsg.Proto.AddMsg.Descriptor, null);
		}
	}
}
